<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
    </h:head>
    <h:body>
       <ui:composition>
           
           <div align="center" style="vertical-align: bottom; bottom:0;">
           
               <h:form>
                   <p:commandButton value="#{resourcesController.extractResource('RUSSIAN')}" 
                                    action="#{languageController.reinit('RUS')}"
                                    ajax="false"
                                    style="margin:10px"/>
                   <p:commandButton value="#{resourcesController.extractResource('ENGLISH')}" 
                                    action="#{languageController.reinit('ENG')}"
                                    ajax="false"
                                    style="margin:10px"/>
               </h:form> 
           
           
             
               <c:if test="#{authorizationBean.user.gid == 1}">
                    <h:outputLink value="/JForum/faces/logadm.xhtml" 
                                style="color:white; text-decoration: none; position:fixed; right:0; bottom:0">
                        <p:graphicImage url="/images/logadm.png" 
                                        style="height:30px"/>
                    </h:outputLink>
               </c:if>
               <br/>
               <h:outputLink value="mailto:jforumwebapp@gmail.com" style="color:white; text-decoration: none">
                   #{resourcesController.extractResource('CONTACT_ADMIN')}
               </h:outputLink>
               <h:outputText value=" JForum © 2012" style="color:#ffb73d"/>
             
           </div>
       </ui:composition>
    </h:body>
</html>

